projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352eb59
)
(Info-find-index-name): Search for a function definition with a return type.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 25 Jul 2002 18:19:43 +0000
(18:19 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 25 Jul 2002 18:19:43 +0000
(18:19 +0000)
lisp/info.el
patch
|
blob
|
history
diff --git
a/lisp/info.el
b/lisp/info.el
index f95cd8bf7b641267a815b28b1c5de1aa6683458d..07304eabb052720289c7868746c9116673c6ea3d 100644
(file)
--- a/
lisp/info.el
+++ b/
lisp/info.el
@@
-1939,6
+1939,10
@@
Give a blank topic name to go to the Index node itself."
(if (or (re-search-forward (format
"[a-zA-Z]+: %s\\( \\|$\\)"
(regexp-quote name)) nil t)
+ ;; Find a function definition with a return type.
+ (re-search-forward (format
+ "[a-zA-Z]+: [a-zA-Z0-9_]+ %s\\( \\|$\\)"
+ (regexp-quote name)) nil t)
(search-forward (format "`%s'" name) nil t)
(and (string-match "\\`.*\\( (.*)\\)\\'" name)
(search-forward